how to remove https link from javascript

75

how to remove https link from javascript -

result = url.replace(/(^\w+:|^)\/\//, '');

Comments

Submit
0 Comments